home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / dos / grafik / mgl11 / mkdefs10 / symantec.def < prev    next >
Encoding:
Text File  |  1994-03-08  |  1.7 KB  |  54 lines

  1. #############################################################################
  2. #
  3. #                   Copyright (C) 1993 SciTech Software
  4. #                           All rights reserved.
  5. #
  6. # Descripton:   Makefile definitions for compiling SciTech Software products.
  7. #               Symantec C++ 6.1 version (16 bit and 32 bit).
  8. #
  9. # $Id: symantec.def 1.1 1994/03/06 07:48:03 kjb Exp $
  10. #
  11. #############################################################################
  12.  
  13. # The following will need to be changed to reflect your normal include file
  14. # and library directories.
  15.  
  16. INC_DEST        = \bc\include\myinc # Destination for include files
  17.  
  18. !if $d(dosx)
  19. LIB_DEST        = d:\sc\lib\mylib32 # Destination for library files
  20. !else
  21. LIB_DEST        = d:\sc\lib\mylib16 # Destination for library files
  22. !endif
  23.  
  24. CC              = sc                # Name of C compiler
  25. ASM             = tasm              # Name of assembler
  26. LIB             = lib               # Name of librarian
  27. LIB_FLAGS       = /N /B
  28.  
  29. !if $d(debug)
  30. CC_DOPT         = -g                # Turn on debugging for C compiler
  31. ASM_DOPT        = /ZI               # Turn on debugging for assembler
  32. !endif
  33.  
  34. !if $d(optimize)
  35. CC_OPT          = -o+all            # Turn on full optimisation
  36. OPTIMIZE        = -Doptimize
  37. !endif
  38.  
  39. # Only compile for the 32 bit memory model
  40.  
  41. LIBFILE         = $(LIB_DEST)\$(LIBNAME).lib
  42. COMPILE_ONLY    = -c
  43.  
  44. !if $d(dosx)
  45. ASM_FLAGS       = /MX /m $(ASM_DOPT) /D__X386__ /DSYMC
  46. CC_FLAGS        = -4 -D__MSDOS__ -D__SYMC__ -DDOSX -mx $(CC_DOPT) $(CC_OPT)
  47. COMPILER        = -Dsymantec -Ddosx
  48. !else
  49. ASM_FLAGS       = /MX /m $(ASM_DOPT) /D__LARGE__
  50. CC_FLAGS        = -4 -D__MSDOS__ -D__SYMC__ -ml $(CC_DOPT) $(CC_OPT)
  51. COMPILER        = -Dsymantec
  52. !endif
  53.  
  54.